package com.gljx.web.dao;

import com.gljx.web.Entity.Examsubscribe;
import com.gljx.web.Entity.JournalEntry.StudentStateJournal;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface ExamsubscribeMapper {
    int deleteByPrimaryKey(String fid);

    int insert(Examsubscribe record);

    int insertSelective(Examsubscribe record);

    Examsubscribe selectByPrimaryKey(String fid);

    int updateByPrimaryKeySelective(Examsubscribe record);

    int updateByPrimaryKey(Examsubscribe record);

    List<Examsubscribe> selExamsubcribeByFbizdate(@Param("companyId") String companyId,@Param("subjectType")String subjectType, @Param("fbizdate")String fbizdate, @Param("carType")String carType);

    //查询已约科目一
    List<StudentStateJournal> selectKmy(Map map);
}